/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.vsu.csf.qasystem.syntax.templates;

import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Руслан
 */
public class WordTemplate extends AbstractTemplate {
    
    private Class type;
    
    private Map<String,Object> properties = new HashMap<String, Object>();
    
    public WordTemplate(Boolean required, Boolean isMain, Class type) {
        super(required, isMain);
        this.type = type;
    }
    
    public WordTemplate(Boolean required, Boolean isMain, Class type, String paramName, Object paramValue) {
        super(required, isMain);
        this.type = type;
        properties.put(paramName, paramValue);
    }

    public Class getType() {
        return type;
    }

    public void setType(Class type) {
        this.type = type;
    }

    public Map<String, Object> getProperties() {
        return properties;
    }
    
    
}
